//////////////////////////////////////////////////////////////////////////
// FileName:Systems
// CreateBy:DragonXiong
// CreateDate:2009-5-4
// Description:
//		Class Systems,table _Systems
//      
// Modify Log:
//	
// Copyright:ASL-MIS
/////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Text;

namespace Auto.Data.Systems.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class Systems
    {
        /// <summary>Data Table _Systems</summary>
        public const String SYSTEMS_TABLE = "_Systems";

        #region --Field--
        /// <summary>
        /// (RecID Type:int)
        /// </summary>
        public const string FIELD_RecID = "RecID";

        /// <summary>
        /// (SysID Type:String Len:20)
        /// </summary>
        public const string FIELD_SysID = "SysID";

        /// <summary>
        /// (SysName Type:String Len:50)
        /// </summary>
        public const string FIELD_SysName = "SysName";

        /// <summary>
        /// (Note Type:String Len:256)
        /// </summary>
        public const string FIELD_Note = "Note";

        /// <summary>
        /// (Pause Type:Bit)
        /// </summary>
        public const string FIELD_Pause = "Pause";
        #endregion --Field--

        #region --Property--
        private int _recid;
        private string _sysid;
        private string _sysname;
        private string _note;
        private bool _pause;

        /// <summary>
        /// RecID
        /// </summary>
        public int RecID
        {
            set { _recid = value; }
            get { return _recid; }
        }
        /// <summary>
        /// System ID
        /// </summary>
        public string SysID
        {
            set { _sysid = value; }
            get { return _sysid; }
        }
        /// <summary>
        /// System Name
        /// </summary>
        public string SysName
        {
            set { _sysname = value; }
            get { return _sysname; }
        }
        /// <summary>
        /// System Note
        /// </summary>
        public string Note
        {
            set { _note = value; }
            get { return _note; }
        }
        /// <summary>
        /// Pause or not
        /// </summary>
        public bool Pause
        {
            set { _pause = value; }
            get { return _pause; }
        }

        #endregion --Property--

        #region --New--
        /// <summary>
        /// Initializes a new instance of the <see cref="Systems"/> class.
        /// </summary>
        public Systems()
        {
            this._sysid = string.Empty;
            this._sysname = string.Empty;
            this._note = string.Empty;
            this._pause = false;
        }
        #endregion --New--
    }
}
